/*
 * @Author: jwb jwb@yoc.tech
 * @Date: 2022-05-18 11:59:08
 * @LastEditors: jwb jwb@yoc.tech
 * @LastEditTime: 2022-05-18 12:24:54
 * @FilePath: \mPaaS-uniapp-tutorial\src\store\modules\steryBox\index.js
 * @Description: 引用所有当前moduls下所有路由文件
 */
const files = require.context('./modules', false, /\.js$/)
const modules = {}

files.keys().forEach(key => {
  modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})

export default {
  namespaced: true,
  modules
}